local zhihua = fk.CreateSkill{
  name = "wk_heg__zhihua",
}

Fk:loadTranslationTable{
  ["wk_heg__zhihua"] = "致化",
  [":wk_heg__zhihua"] = "锁定技，其他角色牌指定你为目标时，若此牌花色与你明置牌中唯一最多的花色相同，取消之。",
}


--   anim_type = "defensive",
--   frequency = Skill.Compulsory,
--   events = {fk.TargetSpecifying},
--   can_trigger = function (self, event, target, player, data)
--     if player:hasSkill(self) and target ~= player and #H.GetShownCards(player)> 0 and data.to == player.id then
--       local csuit = data.card:getSuitString(true)
--       if csuit == "log_nosuit" then return end
--       local suits = {"log_spade","log_club","log_heart","log_diamond"}
--       local numMap = {}
--       for _, suit in ipairs(suits) do
--         numMap[suit] = 0
--       end
--       for _, id in ipairs(H.GetShownCards(player)) do
--         local str = Fk:getCardById(id):getSuitString(true)
--         if numMap[str] then
--           numMap[str] = numMap[str] + 1
--         end
--       end
--       local max_num = 0
--       for _, v in pairs(numMap) do
--         max_num = math.max(max_num, v)
--       end
--       local maxsuit = {}
--       for s, v in pairs(numMap) do
--         if v == max_num then
--           table.insert(maxsuit, s)
--         end
--       end
--       return #maxsuit == 1 and csuit == maxsuit[1]
--     end
--   end,
--   on_use = function (self, event, target, player, data)
--     AimGroup:cancelTarget(data, player.id)
--   end,
-- }

return zhihua